package com.sh.创建方法;

import java.util.concurrent.Callable;

public class CallableOne implements Callable<String> {
    @Override
    public String call() throws Exception {
        System.out.println(Thread.currentThread().getName()
                + "实现Callable接口的任务... ...");
        return "任务完成";
    }
}
